package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.BottomFlatInformationSheetMapper;
import com.ruoyi.system.domain.BottomFlatInformationSheet;
import com.ruoyi.system.service.IBottomFlatInformationSheetService;

/**
 * 海底滩涂信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-05-14
 */
@Service
public class BottomFlatInformationSheetServiceImpl implements IBottomFlatInformationSheetService 
{
    @Autowired
    private BottomFlatInformationSheetMapper bottomFlatInformationSheetMapper;

    /**
     * 查询海底滩涂信息
     * 
     * @param id 海底滩涂信息主键
     * @return 海底滩涂信息
     */
    @Override
    public BottomFlatInformationSheet selectBottomFlatInformationSheetById(Long id)
    {
        return bottomFlatInformationSheetMapper.selectBottomFlatInformationSheetById(id);
    }

    /**
     * 查询海底滩涂信息列表
     * 
     * @param bottomFlatInformationSheet 海底滩涂信息
     * @return 海底滩涂信息
     */
    @Override
    public List<BottomFlatInformationSheet> selectBottomFlatInformationSheetList(BottomFlatInformationSheet bottomFlatInformationSheet)
    {
        return bottomFlatInformationSheetMapper.selectBottomFlatInformationSheetList(bottomFlatInformationSheet);
    }

    /**
     * 新增海底滩涂信息
     * 
     * @param bottomFlatInformationSheet 海底滩涂信息
     * @return 结果
     */
    @Override
    public int insertBottomFlatInformationSheet(BottomFlatInformationSheet bottomFlatInformationSheet)
    {
        return bottomFlatInformationSheetMapper.insertBottomFlatInformationSheet(bottomFlatInformationSheet);
    }

    /**
     * 修改海底滩涂信息
     * 
     * @param bottomFlatInformationSheet 海底滩涂信息
     * @return 结果
     */
    @Override
    public int updateBottomFlatInformationSheet(BottomFlatInformationSheet bottomFlatInformationSheet)
    {
        return bottomFlatInformationSheetMapper.updateBottomFlatInformationSheet(bottomFlatInformationSheet);
    }

    /**
     * 批量删除海底滩涂信息
     * 
     * @param ids 需要删除的海底滩涂信息主键
     * @return 结果
     */
    @Override
    public int deleteBottomFlatInformationSheetByIds(Long[] ids)
    {
        return bottomFlatInformationSheetMapper.deleteBottomFlatInformationSheetByIds(ids);
    }

    /**
     * 删除海底滩涂信息信息
     * 
     * @param id 海底滩涂信息主键
     * @return 结果
     */
    @Override
    public int deleteBottomFlatInformationSheetById(Long id)
    {
        return bottomFlatInformationSheetMapper.deleteBottomFlatInformationSheetById(id);
    }
}
